from enum import Enum

class QuestionType(str, Enum):
    SINGLE_CHOICE = "single_choice"
    MULTIPLE_CHOICE = "multiple_choice"
    SHORT_ANSWER = "short_answer"
    CODING = "coding"
    DIALOG = "dialog"

class Difficulty(str, Enum):
    EASY = "简单"
    MEDIUM = "中等"
    HARD = "困难"

class QuestionStatus(str, Enum):
    UNPUBLISHED = "0"    # 未发布
    PENDING = "1"        # 审核中
    APPROVED = "2"       # 审核通过
    REJECTED = "3"       # 审核不通过
    PUBLISHED = "4"      # 已发布 